package com.reptile.service.execute;

import com.reptile.constant.YsReptileConstant;
import com.reptile.service.BaseExecute;
import com.reptile.util.HttpClientDownPage;
import com.reptile.util.NewsDataUtil;
import org.jsoup.Jsoup;
import java.util.List;

/**
 * 雷锋网-业界新闻
 * @author songyafei
 */
public class LeiFIndustryExecute implements BaseExecute {


    @Override
    public List baseExecute() {
        String btcText = HttpClientDownPage.sendGet(YsReptileConstant.KAI_LEI_F_INDUSTRY_NEWS_URL);
        return NewsDataUtil.LeiFIndustryNewsParseList(Jsoup.parse(btcText));
    }

    @Override
    public List baseExecute(Object data) {
        return null;
    }
}
